<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const obj = {};
      const arr = [];
      // obj.__proto__={}
      Object.setPrototypeOf(arr, { a: 1, b: 2 });
      console.log(Object.getPrototypeOf(arr));
      
      // console.log(Object.getPrototypeOf(obj) === obj.__proto__);
      // console.log(Object.getPrototypeOf(arr) === arr.__proto__);
    </script>
  </body>
</html>
